package com.mysterymall.Common.Config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName com.mysterymall.Common.Config
 * @Description  支付商户配置
 * @Author HuangWX
 * @Time 2023/12/16  23:59
 */
@Configuration
@Data
@Slf4j
@ConfigurationProperties(prefix = "mystery.payment")
public class PaymentConfiguration {

    /**
     *  接口密钥
     */
    private String merKey;

    /**
     *  商户号
     */
    private String merNo;


    /**
     *  支付编码
     */
    private String[] payCode;


    /**
     *  支付回调
     */
    private String notifyUrl;


    /**
     *  币种
     */
    private String currency;

    /**
     * 下单地址
     */
    private String placeAnOrderUrl;

    /**
     * 提现地址
     */
    private String withdrawDepositUrl;

    /**
     * 提现查询地址
     */
    private String withdrawDepositQueryUrl;

}
